//
// Created by xili on 2024/7/30 20:44.
// Go big or go home.
//
#include <iostream>

using namespace std;

class Solution {
public:
    bool repeatedSubstringPattern(string s) {
        return (s + s).find(s, 1) != s.size();
    }
};
